﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
          <asp:Label ID="Label5" runat="server" Text= "在线新闻发布系统"></asp:Label>
            <br />
             <asp:Label ID="Label1" runat="server" Text="新闻来源："></asp:Label><asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged1">
                <asp:ListItem>新华社</asp:ListItem>
                <asp:ListItem>大象社</asp:ListItem>
                <asp:ListItem>老虎社</asp:ListItem>
            </asp:DropDownList>
            <br />
            <asp:Label ID="Label2" runat="server" Text="新闻内容："></asp:Label> <asp:TextBox ID="TextBox1" runat="server" Columns="20" Height="100px" TextMode="MultiLine"></asp:TextBox>
                  <br /> <br />
            <asp:Label ID="Label3" runat="server" Text="发布时间: "></asp:Label><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
            <br />
            &nbsp;</div>
      
        &nbsp&nbsp&nbsp 
            <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" style="width: 50px" />
            &nbsp
            <input id="Reset1" type="reset" value="重置" />
        <br />
        <asp:Label ID="Label4" runat="server" Text="请输入新闻内容！"></asp:Label>
      
    </form>
</body>
</html>